package com.dream;


import com.dream.mpgen.AutoGenerator;
import org.apache.maven.plugins.annotations.Mojo;

/**
 * 生成文件
 * @Author: liuyj
 * @Date: 2022-06-28 18:38
 *
 * @author YangHu, tangguo
 * @since 2016/8/30
 */
@Mojo(name = "gen", threadSafe = true)
public class GenerateMojo extends AbstractGenerateMojo {


    @Override
    public void execute() {
        this.initConfig();
        AutoGenerator generator = new AutoGenerator();
        generator.setConfig(super.config).execute();
    }
}

